<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BabyOS: b_os.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="2.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BabyOS
   &#160;<span id="projectnumber">V1.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b9223522bb56aee4ab59f7ba381d2163.html">bos</a></li><li class="navelem"><a class="el" href="dir_f2a2cc749b6bfcea90db6730434b0bd6.html">core</a></li><li class="navelem"><a class="el" href="dir_37b66dfbfdffce01c33ebea49c49c2c3.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">b_os.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="b__os_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifndef __B_OS_H__</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define __B_OS_H__</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; <span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">/*Includes ----------------------------------------------*/</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__battery_8h.html">b_battery.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__core_8h.html">b_core.h</a>&quot;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__crc32_8h.html">b_crc32.h</a>&quot;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__device_8h.html">b_device.h</a>&quot;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__error_8h.html">b_error.h</a>&quot;</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__event_8h.html">b_event.h</a>&quot;</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__modbus_8h.html">b_modbus.h</a>&quot;</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__protocol_8h.html">b_protocol.h</a>&quot;</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__sda_8h.html">b_sda.h</a>&quot;</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__sdb_8h.html">b_sdb.h</a>&quot;</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__sdc_8h.html">b_sdc.h</a>&quot;</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__sum_8h.html">b_sum.h</a>&quot;</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__tx_8h.html">b_tx.h</a>&quot;</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__utc_8h.html">b_utc.h</a>&quot;</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__fifo_8h.html">b_fifo.h</a>&quot;</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__at_8h.html">b_at.h</a>&quot;</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__shell_8h.html">b_shell.h</a>&quot;</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__kv_8h.html">b_kv.h</a>&quot;</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__xm128_8h.html">b_xm128.h</a>&quot;</span> </div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__ymodem_8h.html">b_ymodem.h</a>&quot;</span> </div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__button_8h.html">b_button.h</a>&quot;</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__hal_8h.html">b_hal.h</a>&quot;</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__utils_8h.html">b_utils.h</a>&quot;</span></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group___b_o_s___exported___functions.html#ga77d7bd12027132a4366d65f361d09503">bInit</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group___b_o_s___exported___functions.html#gafdd4a2c4634d1ddef0eb287cd9d76ebc">bExec</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    }</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor">#endif </span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment">/************************ Copyright (c) 2020 Bean *****END OF FILE****/</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="ttc" id="group___b_o_s___exported___functions_html_gafdd4a2c4634d1ddef0eb287cd9d76ebc"><div class="ttname"><a href="group___b_o_s___exported___functions.html#gafdd4a2c4634d1ddef0eb287cd9d76ebc">bExec</a></div><div class="ttdeci">int bExec(void)</div><div class="ttdoc">Call this function inside the while(1) </div><div class="ttdef"><b>Definition:</b> <a href="b__os_8c_source.html#l00131">b_os.c:131</a></div></div>
<div class="ttc" id="b__shell_8h_html"><div class="ttname"><a href="b__shell_8h.html">b_shell.h</a></div></div>
<div class="ttc" id="b__protocol_8h_html"><div class="ttname"><a href="b__protocol_8h.html">b_protocol.h</a></div></div>
<div class="ttc" id="b__hal_8h_html"><div class="ttname"><a href="b__hal_8h.html">b_hal.h</a></div></div>
<div class="ttc" id="b__error_8h_html"><div class="ttname"><a href="b__error_8h.html">b_error.h</a></div></div>
<div class="ttc" id="b__sdc_8h_html"><div class="ttname"><a href="b__sdc_8h.html">b_sdc.h</a></div></div>
<div class="ttc" id="b__at_8h_html"><div class="ttname"><a href="b__at_8h.html">b_at.h</a></div></div>
<div class="ttc" id="b__button_8h_html"><div class="ttname"><a href="b__button_8h.html">b_button.h</a></div></div>
<div class="ttc" id="b__xm128_8h_html"><div class="ttname"><a href="b__xm128_8h.html">b_xm128.h</a></div></div>
<div class="ttc" id="b__crc32_8h_html"><div class="ttname"><a href="b__crc32_8h.html">b_crc32.h</a></div></div>
<div class="ttc" id="b__sdb_8h_html"><div class="ttname"><a href="b__sdb_8h.html">b_sdb.h</a></div></div>
<div class="ttc" id="b__sum_8h_html"><div class="ttname"><a href="b__sum_8h.html">b_sum.h</a></div></div>
<div class="ttc" id="b__battery_8h_html"><div class="ttname"><a href="b__battery_8h.html">b_battery.h</a></div></div>
<div class="ttc" id="b__utils_8h_html"><div class="ttname"><a href="b__utils_8h.html">b_utils.h</a></div></div>
<div class="ttc" id="b__sda_8h_html"><div class="ttname"><a href="b__sda_8h.html">b_sda.h</a></div></div>
<div class="ttc" id="b__modbus_8h_html"><div class="ttname"><a href="b__modbus_8h.html">b_modbus.h</a></div></div>
<div class="ttc" id="b__ymodem_8h_html"><div class="ttname"><a href="b__ymodem_8h.html">b_ymodem.h</a></div></div>
<div class="ttc" id="b__kv_8h_html"><div class="ttname"><a href="b__kv_8h.html">b_kv.h</a></div></div>
<div class="ttc" id="b__device_8h_html"><div class="ttname"><a href="b__device_8h.html">b_device.h</a></div></div>
<div class="ttc" id="b__utc_8h_html"><div class="ttname"><a href="b__utc_8h.html">b_utc.h</a></div></div>
<div class="ttc" id="b__core_8h_html"><div class="ttname"><a href="b__core_8h.html">b_core.h</a></div></div>
<div class="ttc" id="group___b_o_s___exported___functions_html_ga77d7bd12027132a4366d65f361d09503"><div class="ttname"><a href="group___b_o_s___exported___functions.html#ga77d7bd12027132a4366d65f361d09503">bInit</a></div><div class="ttdeci">int bInit(void)</div><div class="ttdoc">Init. </div><div class="ttdef"><b>Definition:</b> <a href="b__os_8c_source.html#l00118">b_os.c:118</a></div></div>
<div class="ttc" id="b__event_8h_html"><div class="ttname"><a href="b__event_8h.html">b_event.h</a></div></div>
<div class="ttc" id="b__tx_8h_html"><div class="ttname"><a href="b__tx_8h.html">b_tx.h</a></div></div>
<div class="ttc" id="b__fifo_8h_html"><div class="ttname"><a href="b__fifo_8h.html">b_fifo.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
